package com.example.yoho.di.moudles;

import com.example.yoho.mvp.contract.HomeContract;
import com.example.yoho.mvp.model.HomeModel;

import dagger.Module;
import dagger.Provides;

@Module
public class HomeModules {
    private HomeContract.View view;

    public HomeModules(HomeContract.View view) {
        this.view = view;

    }
    @Provides
    public HomeContract.View homeview(){
        return view;
    }
    @Provides
    public HomeContract.Model homemodel(HomeModel model){
        return model;
    }
}
